package com.ch.web.utils;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

public class ConstUtils {
    public static String getCurrentTime() {
        return LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"));
    }

    public static String converterTime(String s) {
        return s.substring(0, s.indexOf("T"))+" 00:00:00.0";
    }
}
